mod args;
mod error;
mod lexer;

use args::Args;
use error::Result;
use lexer::lex_file;

use clap::Parser;

fn main() -> Result<()> {
    let args = Args::parse();
    lex_file(&args.file)
}